import { request } from '../utils/microApi'
export function getDetail(params = {}, config = {}) {
  return request({
    url: '/api/theme.info/getDetail',
    method: 'post',
    params,
    config,
  })
}
export function getList(params = {}, config = {}) {
  return request({
    url: '/api/theme.article/getList',
    method: 'post',
    params,
    config,
  })
}
export function getArtDetail(params = {}, config = {}) {
  return request({
    url: '/api/theme.article/getDetail',
    method: 'post',
    params,
    config,
  })
}
export function getConfigByGroup(params = {}, config = {}) {
  return request({
    url: '/api/base.config/getConfigByGroup',
    method: 'post',
    params,
    config,
  })
}
export function getShare(params = {}, config = {}) {
  return request({
    url: 'https://activityplatform.gdtengnan.com/Api/wechat.wechat/share',
    method: 'post',
    params,
    config,
  })
}
